var bg_obj = ".page-content";
var bg_class= "index-bg1";
var bg_class_sel = ".index-bg1";
var title_height =45;
$(bg_obj).addClass(bg_class);


function indexSrawing(){
	var BG_WIDTH = document.documentElement.clientHeight;
	BG_WIDTH-=title_height;
	$(bg_class_sel).css({"height":BG_WIDTH + "px"});
	
//	var $box = $('.dial-box');
//	var bodyH = $box.parent().height();
//	alert(BG_WIDTH - bodyH);
}

indexSrawing();
window.onresize=function(){  
	indexSrawing(); 
}  